package com.comment.project.annotation;

import java.lang.annotation.*;

/**
 * @author liupenghui
 * @date 2018/7/19
 * @desc： 水果颜色注解
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface FruitColor {

    public enum Color{ BLUE,RED,GREEN}

    Color fruitColor() default Color.GREEN;
}
